package com.ruoyi.environment.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 环评和批复对象 env_pro_report
 * 
 * @author yxf
 * @date 2021-08-25
 */
public class EnvProReport extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 环评和批复ID */
    private Long eprId;

    /** 建设项目id */
    @Excel(name = "建设项目id")
    private String eprProjectId;

    /** 起止时间 */
    @Excel(name = "起止时间")
    private String eprDuration;

    /** 发布日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date eprDatePosted;

    /** 文件类型 */
    @Excel(name = "文件类型")
    private String eprFileType;

    /** 批文号 */
    @Excel(name = "批文号")
    private String eprApprovalNo;

    /** 编制单位名称 */
    @Excel(name = "编制单位名称")
    private String eprCompileUnit;

    /** 编制单位组织代码 */
    @Excel(name = "编制单位组织代码")
    private String eprCompileUnitCode;

    /** 资料：环评审批申请表 */
    @Excel(name = "资料：环评审批申请表")
    private String eprData1;

    /** 资料：环评报告书（表） */
    @Excel(name = "资料：环评报告书", readConverterExp = "表=")
    private String eprData2;

    /** 资料：评审专家组意见 */
    @Excel(name = "资料：评审专家组意见")
    private String eprData3;

    /** 资料：建设项目环境保护审批登记表 */
    @Excel(name = "资料：建设项目环境保护审批登记表")
    private String eprData4;

    /** 资料：环评技术评估报告 */
    @Excel(name = "资料：环评技术评估报告")
    private String eprData5;

    /** 资料：环保行政部门对建设项目的环评批复意见 */
    @Excel(name = "资料：环保行政部门对建设项目的环评批复意见")
    private String eprData6;

    /** 企业ID */
    @Excel(name = "企业ID")
    private Long epId;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setEprId(Long eprId) 
    {
        this.eprId = eprId;
    }

    public Long getEprId() 
    {
        return eprId;
    }
    public void setEprProjectId(String eprProjectId) 
    {
        this.eprProjectId = eprProjectId;
    }

    public String getEprProjectId() 
    {
        return eprProjectId;
    }
    public void setEprDuration(String eprDuration) 
    {
        this.eprDuration = eprDuration;
    }

    public String getEprDuration() 
    {
        return eprDuration;
    }
    public void setEprDatePosted(Date eprDatePosted) 
    {
        this.eprDatePosted = eprDatePosted;
    }

    public Date getEprDatePosted() 
    {
        return eprDatePosted;
    }
    public void setEprFileType(String eprFileType) 
    {
        this.eprFileType = eprFileType;
    }

    public String getEprFileType() 
    {
        return eprFileType;
    }
    public void setEprApprovalNo(String eprApprovalNo) 
    {
        this.eprApprovalNo = eprApprovalNo;
    }

    public String getEprApprovalNo() 
    {
        return eprApprovalNo;
    }
    public void setEprCompileUnit(String eprCompileUnit) 
    {
        this.eprCompileUnit = eprCompileUnit;
    }

    public String getEprCompileUnit() 
    {
        return eprCompileUnit;
    }
    public void setEprCompileUnitCode(String eprCompileUnitCode) 
    {
        this.eprCompileUnitCode = eprCompileUnitCode;
    }

    public String getEprCompileUnitCode() 
    {
        return eprCompileUnitCode;
    }
    public void setEprData1(String eprData1) 
    {
        this.eprData1 = eprData1;
    }

    public String getEprData1() 
    {
        return eprData1;
    }
    public void setEprData2(String eprData2) 
    {
        this.eprData2 = eprData2;
    }

    public String getEprData2() 
    {
        return eprData2;
    }
    public void setEprData3(String eprData3) 
    {
        this.eprData3 = eprData3;
    }

    public String getEprData3() 
    {
        return eprData3;
    }
    public void setEprData4(String eprData4) 
    {
        this.eprData4 = eprData4;
    }

    public String getEprData4() 
    {
        return eprData4;
    }
    public void setEprData5(String eprData5) 
    {
        this.eprData5 = eprData5;
    }

    public String getEprData5() 
    {
        return eprData5;
    }
    public void setEprData6(String eprData6) 
    {
        this.eprData6 = eprData6;
    }

    public String getEprData6() 
    {
        return eprData6;
    }
    public void setEpId(Long epId) 
    {
        this.epId = epId;
    }

    public Long getEpId() 
    {
        return epId;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("eprId", getEprId())
            .append("eprProjectId", getEprProjectId())
            .append("eprDuration", getEprDuration())
            .append("eprDatePosted", getEprDatePosted())
            .append("eprFileType", getEprFileType())
            .append("eprApprovalNo", getEprApprovalNo())
            .append("eprCompileUnit", getEprCompileUnit())
            .append("eprCompileUnitCode", getEprCompileUnitCode())
            .append("eprData1", getEprData1())
            .append("eprData2", getEprData2())
            .append("eprData3", getEprData3())
            .append("eprData4", getEprData4())
            .append("eprData5", getEprData5())
            .append("eprData6", getEprData6())
            .append("epId", getEpId())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
